package com.test.design.pattern.decorator;

/**
 * @ClasName Garnish
 * @Descripution TODO
 * @Author leikw
 * @Date 2021/12/16 10:09
 * @Version V1.0
 */
public abstract class Garnish extends FastFood {

    private FastFood fastFood;

    public FastFood getFastFood() {
        return fastFood;
    }

    public void setFastFood(FastFood fastFood) {
        this.fastFood = fastFood;
    }

    public Garnish(FastFood fastFood, float price, String desc) {
        super(price, desc);
        this.fastFood = fastFood;
    }


}
